package com.bnzj.core.web.security.property;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName ResourcePathProperties
 * @Description spring security 校验路径配置信息
 * @Author
 * @Date 2020/2/17
 * @Version V1.0
 **/
@Getter
@Setter
@ConfigurationProperties(prefix = "spring.security.custom")
public class ResourcePathProperties {

    /**
     * 无需校验
     */
    private String[] permitPath;

    /**
     * 需登录
     */
    private String[] authenticatedPath;

    /**
     * 登录且须有对应权限
     */
    private String[] verifyPath;

}
